import React,{memo} from 'react'
const Profile = memo(function Profile(props) {
    console.log("profile render")
  return (
    <div>
        <h2>Profile:{props.message}</h2>
    </div>
  )
}) 
export default Profile